package com.itheima.service;

import cn.hutool.core.date.DateTime;
import com.itheima.annotation.OpLog;
import com.itheima.domain.EmpQueryParam;
import com.itheima.domain.PageResult;
import com.itheima.domain.pojo.Emp;
import com.itheima.domain.pojo.LoginInfo;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

public interface EmpService {
    //    PageResult<Emp> getAll(Integer page, Integer pageSize);
    PageResult<Emp> getAll(EmpQueryParam e);


    void save(Emp emp);

    List<Emp> getEmps();


    void delete(List<Integer> ids);

    Emp getById(Integer id);


    void updateById(Emp emp);

    LoginInfo login(Map<String, Object> map);
}
